package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Y·C
 * @since 2023-04-21
 */
@Getter
@Setter
  @ApiModel(value = "Request对象", description = "")
public class Request implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("uid")
      private Integer uid;

      @ApiModelProperty("婚况")
      private String maritalStatus;

      @ApiModelProperty("最小年龄")
      private Integer minAge;

      @ApiModelProperty("最大年龄")
      private Integer maxAge;

      @ApiModelProperty("最小身高")
      private Double minHeight;

      @ApiModelProperty("最大身高")
      private Double maxHeight;

      @ApiModelProperty("最低学历")
      private Integer minXueli;

      @ApiModelProperty("最低收入")
      private Integer minIncome;

      @ApiModelProperty("房子")
      private String house;

      @ApiModelProperty("车子")
      private String cart;

      @ApiModelProperty("户籍地区")
      private String huji;

      @ApiModelProperty("其他要求")
      private String other;

      @ApiModelProperty(value = "创建时间")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @TableField(value = "create_time")
      private LocalDateTime createTime;


}
